import request from '@/utils/request'

const api = {
  user: '/user',
  role: '/role'
}

export default api

export function getRole (parameter) {
  return request({
    url: api.role,
    method: 'get',
    params: parameter
  })
}
